package com.example.java_second_hand_market;

public class Buyer extends User{
    public void Buy(Item it){      //改变item类内的参数
    it.setIssold(true);
    }

    public Buyer(String name, String account, String password) {
        super(name, account, password);
    }
}
